@attribute [Route(PageUrls.Dashboard)]
@attribute [Route("{culture?}" + PageUrls.Dashboard)]
@attribute [Authorize(Policy = AuthPolicies.PRIVILEGED_ACCESS)]
@attribute [Authorize(Policy = AppFeatures.AdminPanel.Dashboard)]
@inherits AppPageBase

<AppPageData Title="@Localizer[nameof(AppStrings.Dashboard)]"
             SubTitle="@Localizer[nameof(AppStrings.DashboardSubtitle)]"
             PageTitle="@Localizer[nameof(AppStrings.DashboardPageTitle)]" />

<section>
    <BitStack Gap="3rem">
        <OverallStatsWidget />

        <BitStack Horizontal Wrap>
            @if (isLoadingAssemblies is false)
            {
                <ProductsCountPerCategoryWidget />
                <ProductsPercentageWidget />
            }
        </BitStack>
    </BitStack>
</section>

